package com.ruoyi.camp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 camp_user
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public class CampUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    private String userid;

    /**
     * 微信Id
     */
    @Excel(name = "微信Id")
    private String openid;

    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String username;

    /**
     * 用户头像
     */
    @Excel(name = "用户头像")
    private String imageurl;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 密码
     */
    @Excel(name = "密码")
    private String password;

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserid() {
        return userid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userid", getUserid())
                .append("openid", getOpenid())
                .append("username", getUsername())
                .append("imageurl", getImageurl())
                .append("phone", getPhone())
                .append("password", getPassword())
                .toString();
    }
}
